﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage/AdminMasterPage.master" AutoEventWireup="true" CodeFile="Xoa-sua-nha-hang.aspx.cs" Inherits="Admin_Xoa_sua_nha_hang" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="NhaHangID"
        onrowdeleting="GridView1_RowDeleting">
        <Columns>
            <asp:HyperLinkField DataNavigateUrlFields="NhaHangID" 
                DataNavigateUrlFormatString="chinh-sua-nha-hang.aspx?NhaHangID={0}" 
                DataTextField="TenNhaHang" HeaderText="Nhà hàng" Target="_blank" />
            <asp:HyperLinkField DataNavigateUrlFields="NhaHangID" 
                DataNavigateUrlFormatString="~/Admin/chinh-sua-nha-hang.aspx?NhaHangID={0}" 
                HeaderText="Sửa" Text="Edit" />
            <asp:CommandField HeaderText="Xóa" ShowDeleteButton="True" 
                ButtonType="Button" />
        </Columns>
    </asp:GridView>
</asp:Content>

